package com.link.base.base.coupons.controller;


import com.link.base.base.coupons.model.ProCoupons;
import com.link.base.base.coupons.service.ProCouponsService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * <p>优惠券-适用产品Controller</p>
 * @author wangdawei
 * @date 2018/6/12
 */

@Controller
@RequestMapping("/link/proCoupons")
public class ProCouponsController extends BasicController<ProCoupons> {

    @Resource
    private ProCouponsService proCouponsService;

    @Override
    public BasicService<ProCoupons> getBasicService() throws Exception {
        return proCouponsService;
    }
}
